﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Sterilizationcenter.Domain.zmc
{
    public class CleaningStuffRelation
    {

        /// <summary>
        /// 联合主键（清洗单ID+物资ID）
        /// </summary>

        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int CleaningStuffRelationId { get; set; }

        /// <summary>
        /// 清洗表（清洗单ID+物资ID）
        /// </summary>
        //CleaningOrderId
        public int CleaningOrderId { get; set; }

        /// <summary>
        /// 物资ID
        /// </summary>

        public int StuffId { get; set; }

        /// <summary>
        /// 清洗数量
        /// </summary>
        public int Quantity { get; set; }

      /*  /// <summary>
        /// 导航属性
        /// </summary>
        [Navigate(NavigateType.OneToOne, nameof(StuffId))]
        public Stuff Stuff { get; set; }*/
    }
}
